package com.xintoucloud.pbs.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.xintoucloud.pbs.entity.PartyMember;
import com.xintoucloud.pbs.model.DataGrid;
import com.xintoucloud.pbs.model.PartyDto;
@Service
public interface PartyMemberService {

	boolean save(PartyMember partyMember);
	void delete(Integer id);
	void update(PartyMember partyMember);
	PartyMember getOne(Integer id);
	List<PartyDto> list();
	PartyMember login(String pname,String ppswd);
	
	void deleteById(int id);
	/**
	 * 分页显示
	 * @return
	 */
	DataGrid<PartyDto> list(int pages,int rows);
	DataGrid<PartyDto> list2(int pages,int rows);
	DataGrid<PartyDto> list3(int pages,int rows);
	DataGrid<PartyDto> list4(int oid,int pages,int rows);
}
